package com.ai.dao.edu.cms.info;

import java.util.List;

import com.ai.model.edu.cms.info.InfoPublishApplication;
import com.ai.model.edu.cms.info.dto.InfoPublishApplicationDTO;
import com.ai.model.edu.cms.info.vo.InfoPublishApplicationVO;

public interface InfoPublishApplicationMapper {
	/**
     * 保存发布资讯申请记录
     */
    public Long insertInfoPublishApplication(InfoPublishApplication record);
	
	/**
     * 更新发布资讯申请记录
     */
    public Long updateInfoPublishApplication(InfoPublishApplicationDTO dto);
    
    /**
     * 根据条件查询发布资讯申请记录
     */
    public List<InfoPublishApplicationVO> findInfoPublishApplicationByDto(InfoPublishApplicationDTO dto);
    
    /**
     * 计算满足条件查询发布资讯申请记录数
     */
    public Long countInfoPublishApplicationByDto(InfoPublishApplicationDTO dto);

    /**
     * 根据主键查询记录
     */
    public InfoPublishApplicationVO selectInfoPublishApplicationById(Long id);

}